package com.goldgov.addressbook.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.goldgov.addressbook.service.AddressBookGroupUser;
import com.goldgov.addressbook.service.AddressBookGroupUserQuery;

@Mapper
public interface AddressBookGroupUserDao {

	/**
	 * 获取通讯录群组人员列表
	 * @param query
	 * @return
	 */
	List<AddressBookGroupUser> getAddressBookGroupUserList(@Param("query") AddressBookGroupUserQuery query);
	
	
	/**
	 * 添加通讯录群组人员
	 * @param AddressBookGroup
	 */
	void addAddressBookGroupUser(AddressBookGroupUser addressBookGroupUser);
	
	/**
	 * 删除通讯录群组人员
	 * @param AddressBookGroup
	 */
	void deleteAddressBookGroupUser(String groupID);
	
	/**
	 * 机构人员列表
	 * @param query
	 * @return
	 */
	List<AddressBookGroupUser> getOrgUserList(@Param("query") AddressBookGroupUserQuery query);
}
